//ClientOfAbstractFactory.java
package abstractFactory;

/**
 *@author:youtubezou
 *@version:2012-7-6
 */
public class ClientOfAbstractFactory {
	private static AbstractFactory fa, fb;
	
	public static void main(String[] args) {
		fa = new WinFactory();
		fb = new UnixFactory();
		
		
		System.out.println("Win family\t" + fa.buttonFactory() + " " + fa.textFactory());
		System.out.println("Unix family\t" + fb.buttonFactory() + " " + fb.textFactory());
		System.out.println("Series\t\tButton\t\tText");
	}

}
